﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="uhul.Controls.logoUhul"
	 MouseEnter="UserControl_MouseEnter" MouseLeave="UserControl_MouseLeave">

  <UserControl.Resources>
    <Storyboard x:Name="Logo_Storyboard_1" AutoReverse="True" RepeatBehavior="Forever">
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="TextUhul" Storyboard.TargetProperty="(UIElement.Opacity)">
        <EasingDoubleKeyFrame KeyTime="00:00:00.50" Value="0"/>
      </DoubleAnimationUsingKeyFrames>
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:00.50" Storyboard.TargetName="RamecekBrandys" Storyboard.TargetProperty="(UIElement.Opacity)">
        <EasingDoubleKeyFrame KeyTime="00:00:00.50" Value="0"/>
      </DoubleAnimationUsingKeyFrames>
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:01" Storyboard.TargetName="RamecekUhul" Storyboard.TargetProperty="(UIElement.Opacity)">
        <EasingDoubleKeyFrame KeyTime="00:00:00.50" Value="0"/>
      </DoubleAnimationUsingKeyFrames>
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:01.50" Storyboard.TargetName="Trojuhelnik" Storyboard.TargetProperty="(UIElement.Opacity)">
        <EasingDoubleKeyFrame KeyTime="00:00:00.50" Value="0"/>
      </DoubleAnimationUsingKeyFrames>
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:02" Storyboard.TargetName="BilyKruh" Storyboard.TargetProperty="(UIElement.Opacity)">
        <EasingDoubleKeyFrame KeyTime="00:00:00.50" Value="0"/>
      </DoubleAnimationUsingKeyFrames>
    </Storyboard>

  </UserControl.Resources>

  <Grid x:Name="LayoutRoot">
    <Viewbox>
      <Grid>
        <Grid.Projection>
          <PlaneProjection/>
        </Grid.Projection>
        <!--<Grid.Effect>
					<DropShadowEffect/>
				</Grid.Effect>-->
        <Ellipse x:Name="BilyKruh" Stroke="#FF005928" StrokeThickness="2" Fill="White" Margin="15,37,15,41"/>
        <Path x:Name="Trojuhelnik" Stretch="Fill"  Data="M6.6585879,152.2291 L64.289406,1.3777305 L118.70578,142.58569 L85.412636,170.59776 C85.412636,170.59776 77.835678,159.11705 59.696892,157.73941Z" StrokeThickness="2" Margin="3,0,6,0" UseLayoutRounding="False">
          <Path.Fill>
            <LinearGradientBrush EndPoint="0,0" StartPoint="1,0">
              <GradientStop Color="#FF023318" Offset="0"/>
              <GradientStop Color="#FF35A768" Offset="0.987"/>
            </LinearGradientBrush>
          </Path.Fill>
        </Path>
        <Rectangle x:Name="RamecekUhul" Stroke="#FF005928" RadiusX="7" RadiusY="7" StrokeThickness="2" Fill="White" Margin="0,71,0,75" />
        <Path x:Name="RamecekBrandys" Stretch="Fill" Stroke="#FF005928"   Data="M100.17116,0.5 L113.76623,7.1860962 L113.49232,7.9637604 C105.08035,30.93792 83.021461,47.333748 57.133114,47.333748 C31.244766,47.333748 9.1858711,30.93792 0.77390099,7.9637604 L0.5,7.1861038 L14.09507,0.5 L14.156227,0.71537018 C19.853743,19.033447 36.940201,32.33374 57.133114,32.33374 C77.326019,32.33374 94.412483,19.033447 100.11,0.71537018 z" StrokeThickness="2" Fill="White" Margin="4,96,4,26" UseLayoutRounding="False"/>
        <TextBlock x:Name="TextUhul" Text="ÚHÚL" Foreground="#FF005928" FontSize="16" TextAlignment="Center" FontWeight="Bold" Padding="0,2,0,0" Margin="0,71,0,75" />
      </Grid>
    </Viewbox>
  </Grid>

</UserControl>